package com.ccys.cms.service.masterData;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.masterData.PharmacyDto;
import com.ccys.db.entity.TblPharmacy;
import com.ccys.db.entity.TblPharmacyOperatingHours;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.masterData.PharmacyGroupQueryByCountryIdVo;
import com.ccys.db.vo.masterData.PharmacyPageQueryVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @program: WhiteCoat
 * @description: 药房接口
 * @author: ZhangJingCan
 * @create: 2023-12-14 15:32
 **/
public interface PharmacyService extends BaseService<TblPharmacy> {
    ResponseResult savePharmacy(PharmacyDto dto);

    ResponseResult<PageInfo<PharmacyPageQueryVo>, Object> findPagePharmacy(PharmacyDto dto);

    ResponseResult<List<TblPharmacyOperatingHours>, Object> findListPharmacyOperatingHours(PharmacyDto dto);

    ResponseResult deletePharmacy(PharmacyDto dto);

    ResponseResult updatePharmacyStatus(PharmacyDto dto);

    ResponseResult<List<PharmacyGroupQueryByCountryIdVo>, Object> findListPharmacyGroupByCountryId(PharmacyDto dto);

    ResponseResult updateDispOrder(PharmacyDto dto);
}
